#include <iostream>
using namespace std;

class Animal{
public:
    void run(){
        cout<<"could run"<<endl;
    };
private:
    string name;
};

class Dog:public Animal
{
public:
   void lookdoor(){
        cout<<"wangwang"<<endl;
    }  
private:
    string name = "dog";
};

class SheepDog:public Dog
{
public:
   
private:
      
};

class SledDog:public Dog
{
public:
   
private:
    
};

class Cat:public Animal
{
public:
   
private:
    string name = "cat";
};

class GaedenCat:public Cat
{
public:
     
private:
    
};

void dosomthing()
{
    GaedenCat gc;
    SheepDog sd;
    sd.lookdoor();
    gc.run();
    
}

int main()
{
    dosomthing();
    return 0;
}



